package com.zhentao.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/")
public class AndroidController {

    @GetMapping("/")
    public String test(){
        return "我是Android服务器端";
    }

    @GetMapping("/test")
    public String test2(){
        return "Android服务器端：test2方法";
    }
}
